%module _fitting_base

%{
#define SWIG_FILE_WITH_INIT

#include <stdio.h>
#include <numpy/arrayobject.h>
#include "../c_doas/shift_and_squeeze.h"
#include "../c_doas/autodealloc_numpy.h"
%}

%include "numpy.i"

%init %{
import_array();
import_autodealloc_numpy();
%}